﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using TyMES.Model.BaseInformation;
using TyMES.Model;

namespace TyMES.ViewModel.BaseInformation.LineVMs
{
    public partial class LineBatchVM : BaseBatchVM<Line, Line_BatchEdit>
    {
        public LineBatchVM()
        {
            ListVM = new LineListVM();
            LinkedVM = new Line_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class Line_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._Line._WorkshopCode")]
        public string WorkshopCodeId { get; set; }
        [Display(Name = "_Model._Line._LineName")]
        public string LineName { get; set; }
        [Display(Name = "_Model._Line._ResponsibleId")]
        public string ResponsibleId { get; set; }
        [Display(Name = "_Model._Line._Base_Status")]
        public BaseStatusEnum? Base_Status { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}